package wetogether.community.vo;

public class ContentListVO {
	private int contentPerPage; // 페이지 당 보여줄 글의 수
	private int locationId; // 지역 id
	private int boardId; // 게시판 id
	private String page; // 페이지 번호	
	/**
	 * 검색 관련
	 */
	private String findSetting; // 검색하려는 말머리
	private String findName; // 검색어
	private String title; // 제목으로 검색
	private String memberId; // 회원 id 로 검색
	
	public ContentListVO() {
		super();
	}	
	
	public ContentListVO(int contentPerPage, int locationId, int boardId, String page) {
		super();
		this.contentPerPage = contentPerPage;
		this.locationId = locationId;
		this.boardId = boardId;
		this.page = page;
	}				

	public ContentListVO(int contentPerPage, int locationId, int boardId, 	String page, String findSetting, String findName, String title,
			String memberId) {
		super();
		this.contentPerPage = contentPerPage;
		this.locationId = locationId;
		this.boardId = boardId;
		this.page = page;
		this.findSetting = findSetting;
		this.findName = findName;
		this.title = title;
		this.memberId = memberId;
	}	

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getMemberId() {
		return memberId;
	}

	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	public String getFindSetting() {
		return findSetting;
	}

	public void setFindSetting(String findSetting) {
		this.findSetting = findSetting;
	}

	public String getFindName() {
		return findName;
	}

	public void setFindName(String findName) {
		this.findName = findName;
	}

	public int getBoardId() {
		return boardId;
	}
	
	public void setBoardId(int boardId) {
		this.boardId = boardId;
	}
	
	public int getLocationId() {
		return locationId;
	}
	
	public void setLocationId(int locationId) {
		this.locationId = locationId;
	}
	
	public String getPage() {
		return page;
	}
	
	public void setPage(String page) {
		this.page = page;
	}
	
	public int getContentPerPage() {
		return contentPerPage;
	}
	
	public void setContentPerPage(int contentPerPage) {
		this.contentPerPage = contentPerPage;
	}

	@Override
	public String toString() {
		return "ContentListVO [boardId=" + boardId + ", contentPerPage=" + contentPerPage + ", findName=" + findName + ", findSetting="
				+ findSetting + ", locationId=" + locationId + ", memberId=" 	+ memberId + ", page=" + page + ", title=" + title + "]";
	}	
}